package rabbitmq;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.core.env.Environment;

@Slf4j
@SpringBootApplication
public class MQClient02Application {

    public static void main(String[] args) {
        Environment environment = SpringApplication.run(MQClient02Application.class, args).getEnvironment();
        log.info("\n Swagger  http://localhost:{}/swagger-ui.html \n",
                environment.getProperty("server.port"));
    }
}
